package com.student.service;

import com.student.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {

    /**普通用户注册*/
    void register(User user);

    List<User> selectUser(String loginname);

    boolean updateUser(String nickname,
                       String signature,
                       String sex,
                       Integer age,
                       Integer phonenNumber,
                       String area,
                       Integer constellationId,
                       String email,
                       String loginname);
}
